﻿using FastORM.Applicaiton;
using FastORM.Enum;
using FastUtil.Config;
using System;
using System.Collections.Generic;
using System.Text;

namespace FastCore.Test.ORM
{
    public class DBUserOne
    {
        public void Insert()
        {
            CommonDao dao = new CommonDao(DataBaseClass.MySql, AppConfigUtil.Configuration["ConnectionStrings:Base_ConnectionString"]);
            Frame_User user = new Frame_User();
            user.UserGuid = "XXXXXXOne";
            user.LoginID = "yanpeng";
            user.Mobile = "18800001111";
            user.Age = 18;
            user.DisplayName = "颜鹏";
            user.Birthday = DateTime.Now;
            user.Gender = 1;
            user.Introduction = "XXXXXXXXXXXXXXXXX";
            user.Salary = 5356;
            dao.Insert(user);
        }
    }
}
